			
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using DDF.Entity;
using System.Runtime.Serialization;
using ARR.Entities.Gateways;
		
namespace ARR.Entities
{
	[DataContract]
	[Serializable]	
	public partial class Store : EntityBase
	{
		[DataMember]
		private StoreRow row;
		
		public Store(StoreRow row)
		{
			this.row = row;
		}
		
		public Store()
		{
			this.row = new StoreRow();
		}
		
		[DataMember]
		public int Id
		{
			get { return row.Id; }
			set { row.Id = value; }
		}

		[DataMember]
		public int CountryId
		{
			get { return row.CountryId; }
			set { row.CountryId = value; }
		}

		[DataMember]
		public string Code
		{
			get { return row.Code; }
			set { row.Code = value; }
		}

		[DataMember]
		public string Name
		{
			get { return row.Name; }
			set { row.Name = value; }
		}

		[DataMember]
		public string Region
		{
			get { return row.Region; }
			set { row.Region = value; }
		}

		[DataMember]
		public string Subregion
		{
			get { return row.Subregion; }
			set { row.Subregion = value; }
		}

		[DataMember]
		public string City
		{
			get { return row.City; }
			set { row.City = value; }
		}

		[DataMember]
		public string State
		{
			get { return row.State; }
			set { row.State = value; }
		}

		[DataMember]
		public string SEL
		{
			get { return row.SEL; }
			set { row.SEL = value; }
		}

		[DataMember]
		public string ShoppingOccasion
		{
			get { return row.ShoppingOccasion; }
			set { row.ShoppingOccasion = value; }
		}

		[DataMember]
		public string Size
		{
			get { return row.Size; }
			set { row.Size = value; }
		}

		[DataMember]
		public string Address
		{
			get { return row.Address; }
			set { row.Address = value; }
		}

		[DataMember]
		public string Phone
		{
			get { return row.Phone; }
			set { row.Phone = value; }
		}

		[DataMember]
		public string Fax
		{
			get { return row.Fax; }
			set { row.Fax = value; }
		}

		[DataMember]
		public string Format
		{
			get { return row.Format; }
			set { row.Format = value; }
		}

		[DataMember]
		public string PBL
		{
			get { return row.PBL; }
			set { row.PBL = value; }
		}

		[DataMember]
		public string Mail
		{
			get { return row.Mail; }
			set { row.Mail = value; }
		}

		[DataMember]
		public string Contact
		{
			get { return row.Contact; }
			set { row.Contact = value; }
		}

		[DataMember]
		public string SiteLocation
		{
			get { return row.SiteLocation; }
			set { row.SiteLocation = value; }
		}

		[DataMember]
		public string ShopType
		{
			get { return row.ShopType; }
			set { row.ShopType = value; }
		}

		[DataMember]
		public string Layout
		{
			get { return row.Layout; }
			set { row.Layout = value; }
		}

		[DataMember]
		public string OpeningHours
		{
			get { return row.OpeningHours; }
			set { row.OpeningHours = value; }
		}

		[DataMember]
		public string Attribute1
		{
			get { return row.Attribute1; }
			set { row.Attribute1 = value; }
		}

		[DataMember]
		public string Attribute2
		{
			get { return row.Attribute2; }
			set { row.Attribute2 = value; }
		}

		[DataMember]
		public string SELCustomers
		{
			get { return row.SELCustomers; }
			set { row.SELCustomers = value; }
		}

		[DataMember]
		public string SELLocation
		{
			get { return row.SELLocation; }
			set { row.SELLocation = value; }
		}

		
		public StoreRow GetRow()
        {
            return row;
        }
		
	} 
} 
